﻿using DevExpress.ExpressApp.DC;
using DevExpress.Persistent.Base;
using System.ComponentModel;

namespace EasyXaf.LowCode.WorkflowEditors.Models.Activities;

[DomainComponent]
[Browsable(false)]
[ImageName("WF_End")]
[XafDisplayName("结束")]
public class EndActivity : Activity, IEndActivity
{
    public override string ImageName => "WF_End";

    public override string Color => "#16A085";

    public override bool AllowMove => false;

    public override bool AllowCopy => false;

    public EndActivity(IWorkflow workflow, ISequence sequence)
        : base(workflow, sequence)
    {
        Caption = "结束";
    }
}
